package com.pray.praymall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pray.common.utils.PageUtils;
import com.pray.praymall.member.entity.MemberReceiveAddressEntity;

import java.util.List;
import java.util.Map;

/**
 * 会员收货地址
 *
 * @author pray
 * @email pray_cbh@163.com
 * @date 2020-08-29 12:03:26
 */
public interface MemberReceiveAddressService extends IService<MemberReceiveAddressEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询指定用的收货地址列表
     * @param memberId 用户id
     * @return 收货地址列表
     */
    List<MemberReceiveAddressEntity> getAddress(Long memberId);
}

